package biz.datalk.industrialland.admin.modules.system.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author tarofang@163.com
 * @date 2019-12-25
 */
@Getter
@Setter
@ToString
@Accessors(chain=true)
public class MenuVO implements Serializable {
    private static final long serialVersionUID = -5636158569110177484L;

    private Long id;
    private Long pid;
    private String title;
    private String icon;
    private String url;
    private List<MenuVO> sub;

    public MenuVO() {
    }

    public MenuVO(Long id, Long pid, String title, String icon, String url, List<MenuVO> sub) {
        this.id = id;
        this.pid = pid;
        this.title = title;
        this.icon = icon;
        this.url = url;
        this.sub = sub;
    }
}
